html,body {
  margin: 0;
  padding: 0;
}

body {
  background-image: url(../images/sharebg@2x.png);
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: 100%;
}

#main {
  overflow: hidden;
  >.user {
    margin: 0 auto;
    margin-top: .933333rem;
    margin-left: .266667rem;
    overflow: hidden;

    .headimg {
      width: 1.333333rem;
      height: 1.333333rem;
      // background-color: rgba(216, 216, 216, 1);
      border-radius: 50%;
      overflow: hidden;
      float: left;
    }

    .nickname {
      font-weight: 600;
      color: rgba(255, 255, 255, 1);
      margin-left: .266667rem;
      float: left;
      margin-bottom: .266667rem;
    }

    .msg {
      width: 7.68rem;
      // height: 1.866667rem;
      background-color: rgba(75, 48, 204, 1);
      border-radius: 1.093333rem;
      float: left;
      padding: .4rem .293333rem .266667rem .666667rem;
      box-sizing: border-box;

      color: rgba(255, 255, 255, 1);
      font-weight: 300;
    }
  }

  >.item {
    margin: 0 auto;
    margin-top: 1.066667rem;
    width: 8.693333rem;
    height: 3.36rem;
    border:.08rem solid #E377FD;
    border-radius: .666667rem;
    box-shadow: 0 0 .106667rem .08rem rgba(0, 0, 0, 0.3);
    padding: .266667rem;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 1);
  }

  >.item>.item-headimg {
    width: 2.666667rem;
    height: 2.666667rem;
    border-radius: .333333rem;
    border: .013333rem solid #C0E7EB;
    box-shadow: 0 0 .053333rem .053333rem rgba(255, 255, 255, 1);
    float: left;
    overflow: hidden;
  }

  >.item>.item-user {
    float: left;
    margin-left: .266667rem;
    .item-nickname {
      font-weight: 600;
      color: rgba(241, 92, 254, 1);
    }
    .item-desc {
      color: rgba(164, 141, 248, 1);
    }
  }
  >.item .item-btn-group {
    margin-top: .666667rem;
  }
  >.item .item-btn1 {
    width: 2.453333rem;
    height: .96rem;
    background-image: url(../images/btn2@2x.png);
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
  }
  >.item .item-btn2 {
    width: 2.453333rem;
    height: .84rem;
    background-image: url(../images/btn1@2x.png);
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
  }
  .btn {
    width: 3.92rem;
    height: 1.333333rem;
    background:linear-gradient(180deg,rgba(237,228,166,1) 0%,rgba(231,172,50,1) 100%);
    box-shadow:0 0 .16rem 0 rgba(0,0,0,0.36);
    border-radius: .666667rem;
    border: .026667rem solid rgba(223, 171, 255, 1);
    margin: .986667rem auto 1.44rem;
    display: flex;
    align-items: center;
    justify-content: center;

    .btn-text {
      font-weight: 600;
      text-shadow:0 0 .16rem rgba(0,0,0,0.36);
      background:linear-gradient(180deg, rgba(215,93,61,1) 0%, rgba(109,22,55,1) 100%);
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
    }
  }
}

#phone-dialog {
  position: fixed;
  bottom: 0;
  height: 6.266667rem;
  background-color: white;
  width: 100%;
  border-radius: .533333rem .533333rem 0 0;
  z-index: 101;

  .phone-desc {
    font-weight: 600;
    color: rgba(50, 50, 50 ,1);
    text-align: center;
    margin-top: .88rem;
    text-shadow: 0 0 #000;
  }

  .phone-input {
    width: 7.253333rem;
    height: 1.28rem;
    background-color: rgba(239, 239, 239, 1);
    margin:  .346667rem auto .853333rem;
    display: block;
    border: .026667rem solid rgba(220, 220, 220, 1);
    border-radius: .08rem;
  }

  .liao-btn {
    width: 5.04rem;
    height: 1.333333rem;
    margin:  0 auto;
    box-shadow: 0 0 .106667rem 0 rgba(0, 0, 0, 0.36);
    border-radius: .666667rem;

    font-weight: 600;
    text-shadow: 0 0 .106667rem rgba(0, 0, 0, 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    background:rgba(187,187,187,1);
    color: white;
  }
  .liao-btn-no {
    background-color: rgba(50, 50, 50, 1) !important;
    color:rgba(52, 249, 165, 1) !important;
  }
}

#over-dialog {
  position: fixed;
  top: 17.08%;
  left: 50%;
  margin-left: -4.133333rem;

  width: 8.266667rem;
  height: 6.586667rem;
  background-color: rgba(255, 255, 255, 1);
  border-radius: .266667rem;
  z-index: 101;

  >.close {
    position: absolute;
    top: 2.4%;
    right: 2.4%;

    width: .426667rem;
    height: .426667rem;

    background-image: url(../images/close2x.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
  >p {
    text-align: center;
    font-weight: 500;
  }
  >p:nth-child(2) {
    margin-top: 1.733333rem;
  }
}
.btn {
  width: 6.64rem;
  height: 1.333333rem;
  background:rgba(50,50,50,1);
  box-shadow: 0 0 .106667rem 0 rgba(0,0,0,0.36);
  border-radius: .666667rem;
  margin: 1.226667rem auto 1.173333rem;

  color:rgba(52,249,165,1);
  font-weight: 600;
  text-shadow: 0 0 .106667rem rgba(0, 0, 0, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 100;
}

[data-dpr="1"] {
  .nickname {
    font-size: 18px;
    line-height: 25px;
  }
  .msg {
    font-size: 14px;
    line-height: 20px;
  }

  .item-user {
    font-size: 18px;
    line-height: 25px;
  }

  .item-desc {
    font-size:  14px;
    line-height: 20px;
  }

  .btn-text {
    font-size: 20px;
    line-height: 25px;
  }

  .phone-desc {
    font-size: 20px;
    line-height: 28px;
  }

  .phone-input {
    font-size: 25px;
  }

  .liao-btn {
    font-size: 16px;
    line-height: 22px;
  }

  #over-dialog p {
    font-size: 16px;
    line-height: 25px;
  }

  .btn {
    font-size: 16px;
    line-height: 22px;
  }
}

[data-dpr="2"] {
  .nickname {
    font-size: 36px;
    line-height: 50px;
  }
  .msg {
    font-size: 28px;
    line-height: 40px;
  }

  .item-user {
    font-size: 36px;
    line-height: 50px;
  }

  .item-desc {
    font-size:  28px;
    line-height: 40px;
  }

  .btn-text {
    font-size: 40px;
    line-height: 50px;
  }

  .phone-desc {
    font-size: 40px;
    line-height: 56px;
  }

  .phone-input {
    font-size: 50px;
  }

  .liao-btn {
    font-size: 32px;
    line-height: 44px;
  }

  #over-dialog p {
    font-size: 32px;
    line-height: 50px;
  }

  .btn {
    font-size: 32px;
    line-height: 44px;
  }
}

[data-dpr="3"] {
  .nickname {
    font-size: 54px;
    line-height: 75px;
  }
  .msg {
    font-size: 42px;
    line-height: 60px;
  }

  .item-user {
    font-size: 54px;
    line-height: 75px;
  }

  .item-desc {
    font-size:  42px;
    line-height: 60px;
  }

  .btn-text {
    font-size: 60px;
    line-height: 75px;
  }

  .phone-desc {
    font-size: 60px;
    line-height: 84px;
  }

  .phone-input {
    font-size: 75px;
  }

  .liao-btn {
    font-size: 48px;
    line-height: 66px;
  }

  #over-dialog p {
    font-size: 48px;
    line-height: 75px;
  }

  .btn {
    font-size: 48px;
    line-height: 66px;
  }
}